EntityDAC

TCustomEntityDataSet.Current<T>

Returns the current entity in the dataset.

Unit

Syntax

Remarks

Read the property to access the current entity in the dataset as a specified class instance.

When the dataset is TEntityDataSet and its source is defined using TEntityDataSet.SourceObject or TEntityDataSet.SourceEntity then the Current<T> property returns the source entity.

When the dataset is TEntityDataSet and its source is defined using the TEntityDataSet.SourceCollection property then the Current<T> property returns the current entity in the source collection.

For TEntityTable and TEntityQuery, the Current<T> property returns the current entity in the dataset.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback